'Declaration Public Overloads Shared Function ExecuteScalar( _ ByVal connectionString As String, _ ByVal commandText As String, _ ByVal ParamArray commandParameters() As MySqlParameter _ ) As Object
public static object ExecuteScalar( string connectionString, string commandText, params MySqlParameter[] commandParameters )
Parameters
- connectionString
- Settings to use for the update.
- commandText
- Command text to use for the command.
- commandParameters
- Parameters to use for the command.
Return Value
The first column of the first row in the result set, or a null reference if the result set is empty.